export default {
  path: "/self",
  meta: {
    title: "账户信息",
    icon: "ep:wallet-filled",
    rank: 3
  },
  children: [
    {
      path: "/self/info",
      name: "selfInfo",
      component: () => import("@/views/self/info.vue"),
      meta: {
        title: "个人中心",
        roles: ["common"]
      }
    },
    {
      path: "/self/container",
      name: "selfContainer",
      component: () => import("@/views/self/container.vue"),
      meta: {
        title: "容器信息",
        showLink: false,
        roles: ["common"]
      }
    },
    {
      path: "/self/vmContainer",
      name: "selfVmContainer",
      component: () => import("@/views/self/vmcontainer.vue"),
      meta: {
        title: "虚拟机信息",
        showLink: false,
        roles: ["common"]
      }
    },
    {
      path: "/self/realname",
      name: "realName",
      component: () => import("@/views/self/real_name.vue"),
      meta: {
        title: "实名认证",
        roles: ["common"]
      }
    },
    {
      path: "/self/secure",
      name: "secure",
      component: () => import("@/views/self/secure.vue"),
      meta: {
        title: "安全中心",
        roles: ["common"]
      }
    },
    {
      path: "/self/message",
      name: "Message",
      component: () => import("@/views/self/message.vue"),
      meta: {
        title: "站内消息",
        roles: ["common"]
      }
    },
    {
      path: "/self/activity",
      name: "Activity",
      component: () => import("@/views/self/activity.vue"),
      meta: {
        title: "活动通知",
        roles: ["common"]
      }
    },
    {
      path: "/self/console",
      name: "Console",
      component: () => import("@/views/self/console.vue"),
      meta: {
        title: "容器控制台",
        roles: ["common", "admin"],
        showLink: false
      }
    },
  ]
};
